package test.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import test.entity.User;

@FeignClient(name = "microservice-provider-user")
public interface UserFeignClient {
	
	 @RequestMapping("/{id}")
	  public User findByIdFeign(@RequestParam("id") Long id);

}
